#include <iostream>
#include <vector>
using std::vector;
using std::string;
using std::cin;
using std::cout;
using std::endl;

int main()
{
	vector<int> iv(10, 14);
	for(vector<int>::iterator itr = iv.begin(); itr != iv.end(); itr++)
	{
		*itr <<= 1;
	}

	for(vector<int>::const_iterator itr = iv.begin(); itr != iv.end(); itr++)
	{
		cout << *itr << " ";
	}
	cout << endl;
	return 0;
}
